/**
 * Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng)
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package cn.stylefeng.guns.core.constants.factory;

import cn.stylefeng.guns.sys.modular.system.entity.Dict;
import cn.stylefeng.guns.sys.modular.system.entity.Menu;

import java.util.List;

/**
 * 常量生产工厂的接口
 *
 * @author fengshuonan
 * @date 2017-06-14 21:12
 */
public interface IModularConstantFactory {

    /**
     * 根据广告位置ID获取位置名称
     *
     * @author yzb
     * @Date 2019/11/20 11:04
     */
    String getPositionNameById(Integer positionId);

    /**
     * 根据URL类型获取类型名称
     *
     * @author yzb
     * @Date 2019/11/20 11:04
     */
    String getUrlNameByUrlType(Integer urlType);


    /**
     * 根据性别值获取性别名称
     *
     * @author yzb
     * @Date 2019/11/20 11:04
     */
    String getSexName(String sex);


    /**
     * 获取会员角色名
     * @param  memberRole 会员角色编号
     * @author yzb
     * @Date 2019/11/20 11:04
     */
    String getMemberRoleName(Integer memberRole);

    /**
     * 获取VIP身份
     * @param  vipGrade vip身份编号
     * @author yzb
     * @Date 2019/11/20 11:04
     */
    String getVipGradeName(Integer vipGrade);

    /**
     * 获取信息来源，如Android、IOS、小程序等
     * @param  sourceType vip身份编号
     * @author yzb
     * @Date 2019/11/20 11:04
     */
    String getSourceTypeName(Integer sourceType);


    /**
     * @param  type vip身份编号
     * @Date 2019/11/20 11:04
     */
    String getPostCategoryType(Integer type);

}
